package com.tianji.learning.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.tianji.learning.domain.po.PointsBoard;
import com.tianji.learning.domain.query.PointsBoardQuery;
import com.tianji.learning.domain.vo.PointsBoardVO;

import java.util.List;

/**
 * <p>
 * 学霸天梯榜 服务类
 * </p>
 *
 * @author xzh
 * @since 2024-03-18
 */
public interface IPointsBoardService extends IService<PointsBoard> {

    /**
     * 获得天梯榜排名信息
     * @param query
     * @return
     */
    PointsBoardVO queryPointsBoardPageList(PointsBoardQuery query);

    /**
     * 创建历史积分榜单
     * @param season
     */
    void creatHistoryPointsBoard(Integer season);

    /**
     * 获得当前天体排行榜情况
     * @param key
     * @param pageNo
     * @param pageSize
     * @return
     */
     List<PointsBoard> queryCurrentPointsBoardList(String key, Integer pageNo, Integer pageSize);
}
